﻿using System;
using System.Collections.Generic;

namespace IceDog.EFCore.Cmd.DBFirst.Models
{
    public partial class BlogArticles
    {
        public BlogArticles()
        {
            BlogComments = new HashSet<BlogComments>();
        }

        public long ArticleId { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
        public DateTime CreateTime { get; set; }
        public string Url { get; set; }
        public long AuthorId { get; set; }
        public long Rating { get; set; }

        public BlogUsers Author { get; set; }
        public ICollection<BlogComments> BlogComments { get; set; }
    }
}
